home *** CD-ROM | disk | FTP | other *** search
/ The Original Shareware 1.1 / The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso / 16 / blackbrd.zip / RE.HLP < prev    next >
Text File  |  1987-10-07  |  2KB  |  59 lines

  1.       Regular Expression Search
  2.          The following characters are used to perform reqular
  3.       expression searching.  This set matches the grep utility very
  4.       closely. We will be integrating a help facility in to the
  5.       search function very soon now. For now this is what you get.
  6.       This search information is also contained on the distribution
  7.       diskette in the file re.hlp.
  8.  
  9.          x     An ordinary character (not mentioned below) matches that
  10.            character.
  11.  
  12.          \     The backslash quotes any character.  \"\\$\" matches a
  13.            dollar-sign.
  14.  
  15.          ^     A circumflex at the beginning of an expression matches
  16.            the beginning of a line.
  17.  
  18.          $     A dollar-sign at the end of an expression matches the
  19.            end of a line.
  20.  
  21.          .     A period matches any character except \"new-line\".
  22.  
  23.          :a    A colon matches a class of characters described by the
  24.            following
  25.  
  26.          :d    character.  \":a\" matches any alphabetic, \":d\"
  27.            matches digits,
  28.  
  29.          :n    \":n\" matches alphanumerics, \": \" matches spaces,
  30.            tabs, and
  31.  
  32.          :    other control characters, such as new-line.
  33.  
  34.          *    An expression followed by an asterisk matches zero or
  35.           more occurrances of that expression: \"fo*\" matches
  36.           \"f\", \"fo\" \"foo\", etc.
  37.  
  38.          +    An expression followed by a plus sign matches one or more
  39.           occurrances of that expression: \"fo+\" matches \"fo\",
  40.           etc.
  41.  
  42.          -    An expression followed by a minus sign optionally matches
  43.           the expression.
  44.  
  45.          []   A string enclosed in square brackets matches any
  46.           character in that string, but no others.  If the first
  47.           character in the string is a circumflex, the expression
  48.           matches any character except \"new-line\" and the
  49.           characters in the string.  For example, \"[xyz]\"
  50.           matches \"xx\" and \"zyx\", while \"[^xyz]\" matches
  51.           \"abc\" but not \"axb\".  A range of characters may be
  52.           specified by two characters separated by \"-\".  Note
  53.           that, [a-z] matches alphabetics, while [z-a] never
  54.           matches.
  55.  
  56.       The concatenation of regular expressions is a regular expression.
  57.  
  58.  
  59.